package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 油厂组织管理对象 yc_org
 *
 * @author ruoyi
 * @date 2022-10-15
 */
public class YcOrg extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 组织序号 */
    private Long orgId;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String orgName;

    /** 组织级别 */
    @Excel(name = "组织级别")
    private String orgLevel;

    public void setOrgId(Long orgId)
    {
        this.orgId = orgId;
    }

    public Long getOrgId()
    {
        return orgId;
    }
    public void setOrgName(String orgName)
    {
        this.orgName = orgName;
    }

    public String getOrgName()
    {
        return orgName;
    }
    public void setOrgLevel(String orgLevel)
    {
        this.orgLevel = orgLevel;
    }

    public String getOrgLevel()
    {
        return orgLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("orgId", getOrgId())
                .append("parentId", getParentId())
                .append("orgName", getOrgName())
                .append("orgLevel", getOrgLevel())
                .append("createTime", getCreateTime())
                .toString();
    }
}
